import { customMouseConfig } from './cesium-mouse-control';
import { onBoxSelection } from './cesium-select-control';
import { recordChangedView } from './cesium-view-record';
import { removeUselessDom } from './cesium-dom-control';

export function onSceneload(viewer, iCesium) {
	// 移除不需要的dom
	removeUselessDom(viewer);
	// 更改鼠标操作
	customMouseConfig(viewer, iCesium);
	// 挂载框选监听事件
	onBoxSelection(viewer, iCesium);
	// 记录鼠标引起的视图变化
	recordChangedView(viewer, iCesium);
}
